package com.mynotes.notes;

import com.mynotes.notes.R;
import com.mynotes.notes.adapter.FriendSearchListAdapter;

import android.app.Activity;
import android.os.Bundle;
import android.text.Editable;
import android.text.TextWatcher;
import android.view.View;
import android.view.Window;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ImageView;
import android.widget.ListView;
import android.widget.TextView;

public class Contact_Friend_Search extends Activity implements TextWatcher {
	private ImageView back;
	private EditText search;
	private String name;
	private Button ok;


	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		requestWindowFeature(Window.FEATURE_NO_TITLE);
		setContentView(R.layout.contact_friend_search);

		search = (EditText) findViewById(R.id.contact_search_friend);
		back = (ImageView) findViewById(R.id.contact_search_back);

		back.setOnClickListener(new OnClickListener() {

			@Override
			public void onClick(View arg0) {
				finish();//
			}
		});

	}

	@Override
	public void afterTextChanged(Editable arg0) {
		name = search.getText().toString();

	}

	@Override
	public void beforeTextChanged(CharSequence arg0, int arg1, int arg2,
			int arg3) {
	}

	@Override
	public void onTextChanged(CharSequence arg0, int arg1, int arg2, int arg3) {
	}
}
